package com.wink.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wink.admin.entity.SysUser;
import org.springframework.scheduling.annotation.Async;

import java.util.List;

/**
 * @author xw
 * @date 2020-11-20 16:47
 */
public interface SysUserService extends IService<SysUser> {


    List<SysUser> getList();

    Boolean addUser(SysUser user);

    Boolean deleteUser(Long id);

    Boolean updateUser(Long id, String password);

    SysUser getOne(Long id);

    @Async("threadPoolTaskExecutor")
    void test02Async(String msg);
}
